import { PageResult } from "common/interface";

export const getPager = <T>(list: T[], total:number): PageResult<T>=>{
    return {
        list,
        total,
    }
}
